
    <%@ page language="java" import="java.util.*,com.studentmanager.vo.Student"
	pageEncoding="utf-8"%>
<%@ page import="com.studentmanager.dao.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base href="<%=basePath%>">
		<title>显示学生信息</title>

     <style type="text/css">
       input[type="text"]{
              height: auto;
	          margin-bottom: 15px;
	          padding: 3px 9px;
            }
     </style>
</head>
<body>
<!-- <form action="searchstudentById" method="post">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        学号：<input type="text" name="searchstudentId" placeholder="学生学号...">
         <i class="glyphicon glyphicon-search"></i>&nbsp;<button type="submit" class="btn btn-warning"> 查找</button>
        </form> -->
		<table  class="table table-hover table-condensed">
		    <tr>
		    <td align="center">
					<strong>类别</strong>
				</td>
				<td align="center">
					<strong>学号</strong>
				</td>
				<td align="center">
					<strong>姓名</strong>
				</td>
				<td align="center">
					<strong>性别</strong>
				</td>
				<td align="center">
					<strong>年龄</strong>
				</td>
				<td align="center">
					<strong>电话</strong>
				</td>
				<td align="center">
					<strong>班级</strong>
				</td>
				
				<td align="center" >
					<strong>执行操作</strong>
				</td>
			</tr>
			<c:forEach items="${list}" var="student">
				<tr>
				<td align="center">
						<c:out value="${student.category}" />
					</td>
					<td align="center">
						<c:out value="${student.stNo}" />
					</td>
					<td align="center">
						<c:out value="${student.stName}" />
					</td>
					<td align="center">
						<c:out value="${student.stSex}" />
					</td>
					<td align="center">
						<c:out value="${student.stAge}" />
					</td>
					<td align="center">
						<c:out value="${student.stTel}" />
					</td>
					<td>
						<c:out value="${student.stClass}" />
					</td>
					
					<td align="center">
						<a href="tepre?method=showAllResume&stNo=${student.stNo}" class="btn btn-primary">更多简历信息</a>
					</td>
				</tr>
			</c:forEach>
		</table>

		<hr>
		<a href="Teacher.jsp" class="btn btn-success">返回主菜单</a>
		<hr>
</body>
</html>